#ifndef __SENSOR_H
#define __SENSOR_H

#include "main.h"

extern float vbus;
extern float current_u;
extern float current_v;
extern float current_w;
extern float current_u_offset;
extern float current_v_offset;
extern float current_w_offset;

void calVbus(uint16_t adcValue);

void calCurrentUVW(uint16_t adcValue_U, uint16_t adcValue_V);

#endif // !__SENSOR_H
